<?php

namespace App\Http\Controllers\Home;

use App\Http\Controllers\Controller;
use App\Models\Apply;
use App\Models\Article;
use App\Models\Partner;
use App\Models\Product;
use App\Models\Seo;
use App\Models\Solve;
use Illuminate\Http\Request;

class IndexController extends Controller {

    public function index(){
        $seo = Seo::getSeo(1);
        //合作伙伴
        $partners = Partner::where('status',Partner::STATUS_1)->orderBy('sort','desc')->take(54)->get()->toArray();
        return view('home.index.index',compact('seo','partners'));
    }


}
